<?php


	global $_DEBUG;
	global $_DEBUG_INFO;
	global $_QUERY_AMMOUNT;
	
	$info = $_DEBUG_INFO;
	
	if ( $_DEBUG && ($_SESSION['level'] == 4)) {
		
		$smarty->assign('debug_info', $info);
		
	}



$pagegen->stop();

$smarty->assign('time_info', $pagegen->gen());

$smarty->assign('query_info', $_QUERY_AMMOUNT);



$smarty->display('footer.tpl', $_SESSION['uid']);

?> 